package com.xdtech.base.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.base.model.Province;
import com.xdtech.base.vo.ProvinceItem;

/**
 * 
 * @author max.zheng
 * @create 2015-06-02 14:00:50
 * @since 1.0
 * @see
 */
public interface ProvinceService extends IBaseService<Province>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-06-02 14:00:50
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateProvince(ProvinceItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-06-02 14:00:50
	 * @modified by
	 * @param newId
	 * @return
	 */
	ProvinceItem loadProvinceItem(Long provinceId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-06-02 14:00:50
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteProvinceInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-06-02 14:00:50
	 * @modified by
	 * @param provinceIds
	 */
	boolean deleteProvinceInfo(List<Long> provinceIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2015-06-02 14:00:50
	 * @modified by
	 * @return
	 */
	List<ProvinceItem> loadItems();
}
